package com.qzdsoft.erpcloud.service.sys;

import java.util.List;

import com.qzdsoft.erpcloud.domain.sys.SysRoleTable;
import com.qzdsoft.erpcloud.vo.sys.SysRoleTableEditInfo;
import com.qzdsoft.erpcloud.vo.sys.SysRoleTableQueryParam;
import com.qzdsoft.erpcloud.vo.sys.ZtreeNode;
import com.qzdsoft.vo.Response;

/**
 * Created by Admin
 */
public interface SysRoleTableService {

    SysRoleTable selectById(Integer id);

    Response saveOrUpd(SysRoleTable sysRoleTable);
    
    /**
     * 根据主键删除员工权限角色
     * @param id
     * @return
     */
    Response del(Integer id);


    List<SysRoleTable> selectData(SysRoleTableQueryParam info);
    
    /**
     * 查找所有单据表
     * @return
     */
    Response<ZtreeNode> findAllTable();
    
    /**
     * 单据字段权限设置保存
     */
    Response saveRoleTableField(SysRoleTableEditInfo info);
    
}
